package com.example.demo.bean;

import org.springframework.stereotype.Repository;

@Repository
public class Student {

    private String age;
    private String name;

    private HelloStudent helloStudent;


    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        return "Student{" +
                "age='" + age + '\'' +
                ", name='" + name + '\'' +
                ", helloStudent=" + helloStudent +
                '}';
    }

    public HelloStudent getHelloStudent() {
        return helloStudent;
    }

    public void setHelloStudent(HelloStudent helloStudent) {
        this.helloStudent = helloStudent;
    }
}
